//
// Created by zhupi on 2024/11/3.
//

#ifndef DEMO2_VIEW_EDIT_MATERIAL_DIALOG_VIEW_CTRL_H
#define DEMO2_VIEW_EDIT_MATERIAL_DIALOG_VIEW_CTRL_H

#include <QObject>
#include "view_edit_material_dialog.h"
class ViewEditMaterialDialogViewCtrl : public QObject
{
    Q_OBJECT
public:
    static ViewEditMaterialDialogViewCtrl &GetIns();
    void Inital(const QString &buttonName, const std::vector<QString> &rowData);
private:

    ViewEditMaterialDialog *dialog_ {nullptr};
};


#endif //DEMO2_VIEW_EDIT_MATERIAL_DIALOG_VIEW_CTRL_H
